package org.unt.exceptions;

public class ExceptionsTest {

	public static void main(String[] args) {

		RuntimeException e1 = new RuntimeException("runtime exception");
		Exception f = new Exception("fwk exception", e1);
		Exception e2 = new Exception("exception 2", f);

		p(Exceptions.toString(e2));

	}

	public static void p(String s) {
		System.out.println(s);
	}
}
